books = ["Python Programming", "Data Structures", "Artificial Intelligence", "Web Development"]

# 统计书籍总数
print(len(books))

# 新增书籍到列表
books.append('Python Dev')
print('添加后的书籍列表', books)

# 删除书籍
moved_book = 'Python Dev'
if moved_book in books:
    books.remove('Python Dev')
    print('删除后的书籍列表', books)
else:
    print('没有这本书')


# 对书籍进行排序
books.sort()
print('排序后的书籍列表', books)
